#include "mydialog.h"
MDialog::MDialog() {}
MDialog::MDialog(QWidget *parent)
    :QDialog(parent)
{
    this->resize(400,200);
    this->setWindowTitle("the introduction to this game");
    view.setParent(this);
    view.setSceneRect(QRect(0,0,400,200));
    scene.setSceneRect(QRect(0,0,400,400));
    scene.addPixmap(QPixmap(""));
    view.setScene(&scene);
    view.show();
}
